* term/mac-win.el: Don't set it here.
:type '(choice (string :tag "Program") (const :tag "None" nil))
:group 'dired)
-(defcustom directory-free-space-args "-Pk"
+(defcustom directory-free-space-args
+ (if (eq system-type 'darwin) "-k" "-Pk")
"*Options to use when running `directory-free-space-program'."
:type 'string
:group 'dired)
;; Don't have this yet.
(fset 'x-get-resource 'ignore)
-(if (eq system-type 'darwin)
- ;; df on Darwin does not understand -P
- (setq directory-free-space-args "-k")
-
+(unless (eq system-type 'darwin)
;; This variable specifies the Unix program to call (as a process) to
;; deteremine the amount of free space on a file system (defaults to
;; df). If it is not set to nil, ls-lisp will not work correctly